<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>TOP10</title>
</head>
<body>
	
	
	<form action="ListSelectSigData?date=${date}" method="post">
		
    <div class="row">
    <div class="col-lg-12">
    <section class="panel">
    <header class="panel-heading">
    <div style="display: inline-block; width: 90%; text-align: center">平均流量TOP10</div>
    <div style="display: inline-block"><a href="ExportInfoOfSameMac">[导出明细]</a></div>
    </header>


   
    

		
		<table class="table table-striped table-advance table-hover"> 
		<tbody>   
			 <tr>
			 
        <th>地市</th>
				<th>记录时间</th>
				<th>账号</th>
				<th>在线时长</th>
				<th>当月最大累计主机数</th>
				<th>当月最大并发主机数</th>
				<th>流量(KBytes)</th>
				<th>装机地址</th>
        </tr>
        
       <c:forEach items="${paging.datas}" var="SigData" varStatus="status">
				<tr>
				<td>${SigData.city}</td>
					<td>${SigData.logTime}</td>
					<td>${SigData.account}</td>
					<td>${SigData.onlineTime}</td>
					<td>${SigData.maxSumHostOfMonth}</td>
					<td>${SigData.maxHostOfMonth}</td>
					<td>${SigData.flow}</td>
					<td>${SigData.address}</td>
					
					
				</tr>
			</c:forEach>
			</tbody>
		</table>
     </section>
    </div>
    </div>
    
                    <table align="center">
                        <tr>
                            <c:if test="${paging.pageCount>1}">
                            <td><input type="submit" value="首页" name="firstPage" /></td>
                            </c:if>
                            <c:if test="${paging.pageNo>0 && paging.pageNo<=paging.pageCount-1}">
                            <td><input type="submit" value="前页" name="previousPage" /></td>
                            </c:if>
                            <td>第${paging.pageNo+1}页 / 共${paging.pageCount}页</td>
                            <c:if test="${paging.pageNo>=0 && paging.pageNo<paging.pageCount-1}">
                            <td><input type="submit" value="后页" name="nextPage" /></td>
                            </c:if>
                            <c:if test="${paging.pageCount>1}">
                            <td><input type="submit" value="尾页" name="lastPage" /></td>
                            </c:if>
                        </tr>
                    </table>

	</form>

</body>
</html>
